package config;

import bean.SomeBean;
import org.springframework.context.annotation.Bean;

/**
 * Author:shixiaojun@itany.com
 * Date:2022/5/18 15:04
 * Version:1.0-SNAPSHOT
 * Description:
 */
public class MyConfig {

    // 配置一个bean标签
    // 方法名即为id属性值
    // 方法返回值即为class属性值
    @Bean
    public SomeBean someBean(){
        return new SomeBean();
    }

}
